package com.yyn.order.client;

import com.yyn.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "service-edu",fallback = EduClientImpl.class)
@Component
public interface EduClient {
    @GetMapping("/Learning/edu-course/base/{id}")
     R getInfoById(@PathVariable("id") String id);

}
